package com.zhouyx.userservice.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @title: User
 * @Author: max.zhou1
 * @Date: 2024/9/2 22:26
 * @Version: 1.0
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "简单响应对象")
public class User {
    @Schema(description = "id", example = "101")
    private Long id;

    @Schema(description = "姓名", example = "jack")
    private String name;

    @Schema(description = "年龄", example = "20")
    private Integer age;
}

